const baseURL="https://elm.cangdu.org"
//获取详细地址
export const getAddress=location=>baseURL+"/v2/pois/"+location
//获取分类菜单
export const getItemMeun=baseURL+"/v2/index_entry"
// 获取首页餐馆列表
export const getIndedShops=baseURL+"/shopping/restaurants?latitude=31.22967&longitude=121.4762"
//获取首页商铺数据
export const getShopList=baseURL+"/shopping/restaurants?latitude=31.22967&longitude=121.4762"

//获取店铺详情
export const getShopInfo=id=>(`${baseURL}/shopping/restaurant/${id}`)
//获取店铺的菜单列表
export const getshopItem=id=>baseURL+"/shopping/v2/menu?restaurant_id="+id

